<input type="hidden" name="role.id" value="#(role.id)">
<div class="layui-form-item">
	<div class="layui-inline">
		<label class="layui-form-label layui-bg-blue">名称</label>
		<div class="layui-input-inline">
			<input type="text" name="role.name" lay-verify="required|name" placeholder="用于显示" autocomplete="off" class="layui-input" value="#(role.name)">
		</div>
	</div>
	<div class="layui-inline">
		<label class="layui-form-label layui-bg-blue">状态</label>
		<div class="layui-input-inline">
			<input type="radio" name="role.status" value="on" title="启用" #if(role.status == 'on' || role.status == null) checked #end>
			<input type="radio" name="role.status" value="off" title="禁用" #if(role.status == 'off') checked #end>
		</div>
	</div>
</div>

<div class="layui-form-item">
	<div class="layui-inline">
		<label class="layui-form-label">代码</label>
		<div class="layui-input-inline">
			<input type="text" name="role.code" lay-verify="code" placeholder="用于权限控制" autocomplete="off" class="layui-input" value="#(role.code)">
		</div>
	</div>
	<div class="layui-inline">
		<label class="layui-form-label layui-bg-blue">排序号</label>
		<div class="layui-input-inline">
			<input type="text" name="role.sortNum" lay-verify="required|number" placeholder="用于权限控制" autocomplete="off" class="layui-input" value="#(role.sortNum)">
		</div>
	</div>
</div>

<div class="layui-form-item layui-form-text">
	<label class="layui-form-label">描述</label>
	<div class="layui-input-block">
		<textarea placeholder="" name="role.remark" class="layui-textarea">#(role.remark)</textarea>
	</div>
</div>
